package com.ksm.client.document;

import java.util.Date;

import com.google.gwt.editor.client.Editor.Path;
import com.ksm.transfer.dto.DocumentDTO;
import com.sencha.gxt.core.client.ValueProvider;
import com.sencha.gxt.data.shared.LabelProvider;
import com.sencha.gxt.data.shared.ModelKeyProvider;
import com.sencha.gxt.data.shared.PropertyAccess;

public interface DocumentProperties extends PropertyAccess<DocumentDTO> {
	@Path("id")
	ModelKeyProvider<DocumentDTO> key();

	ValueProvider<DocumentDTO, Long> id();

	@Path("name")
	LabelProvider<DocumentDTO> nameLabel();

	ValueProvider<DocumentDTO, String> name();

	ValueProvider<DocumentDTO, String> type();

	ValueProvider<DocumentDTO, Date> date();

	ValueProvider<DocumentDTO, String> interlocuteur();

	ValueProvider<DocumentDTO, Double> montant();

}
